import { BasicFetchResult } from '@/api/model/baseModel'
import { CategroyModel } from './cateModel'
import { ProviderModel } from './providerModel'
import { StaffModel } from './staffModel'

/**
 * 服务商模型
 */
export interface WorkFlowModel {
  id: number
  provider_id: number
  category_id: number
  staff_id: number
  schedule_day: string
  time_at: string
  add_at: number
  order_status: number
  detail: string
  order_id: number
  create_time: string
  update_time: string
  status_text: string
  staff: StaffModel
  category: CategroyModel
  provider: ProviderModel
}

export type WorkFlowGetResultModel = BasicFetchResult<WorkFlowModel>
